import { addAppComponent } from '@/app'
import SelectedInfoVue from './SelectedInfo.vue'

export {
  selected,
  selectedCenter,
  unSelectMapItem,
  selectBack,
  selectForward,
  selectMapItem
} from './core'
export { default as MapItemLink } from './MapItemLink.vue'
export { default as MapItemSection } from './MapItemSection.vue'
export { selectMapItemOnMap } from './select-map'

export function setupMapItemSelect() {
  addAppComponent({ component: SelectedInfoVue }, 'right')
}
